﻿
if(CMAKE_BUILD_TYPE MATCHES Debug)
	set(ArchConfig Debug)
else()
	set(ArchConfig Release)
endif()

file(GLOB Xmls ./${ArchConfig}/*.xml)
foreach(Xml ${Xmls})
	message(Xml=${Xml})
	file(COPY ${Xml} DESTINATION ${ArchConfig} FOLLOW_SYMLINK_CHAIN)
endforeach()

file(GLOB Configs ./${ArchConfig}/logconfig/*.conf)
foreach(Conf ${Configs})
	message(Conf=${Conf})
	file(COPY ${Conf} DESTINATION ${ArchConfig}/logconfig FOLLOW_SYMLINK_CHAIN)
endforeach()